<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <link id="layuicss-layer" rel="stylesheet" href="http://www.yuanxiaoxiang.com:8008/hospital/layui/css/modules/layer/default/layer.css?v=3.1.1" media="all">
</head>
<body>
<!--顶部-->
<div class="layui-header">
<!--  顶板导航栏  -->
    <ul class="layui-nav" >
        <a href="javascript:;" class="seraph hideMenu icon-caidan"></a>
        <li class="layui-nav-item layui-col-md-offset8">
            <a href="">控制台<span class="layui-badge">9</span></a>
        </li>
        <li class="layui-nav-item">
            <a href="">个人中心<span class="layui-badge-dot"></span></a>
        </li>
        <li class="layui-nav-item">
            <a href=""><img src="//t.cn/RCzsdCq" class="layui-nav-img">我</a>
            <dl class="layui-nav-child">
                <dd><a href="javascript:;">修改信息</a></dd>
                <dd><a href="javascript:;">安全管理</a></dd>
                <dd><a href="javascript:;">退了</a></dd>
            </dl>
        </li>
    </ul>

</div>


<div class="layui-side layui-bg-black">
    <ul class="layui-nav layui-nav-tree" lay-filter="test">
        <!-- 侧边导航: <ul class="layui-nav layui-nav-tree layui-nav-side"> -->
        <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">默认展开</a>
            <dl class="layui-nav-child">
                <dd><a href="javascript:;">选项1</a></dd>
                <dd><a href="javascript:;">选项2</a></dd>
                <dd><a href="">跳转</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a href="javascript:;">解决方案</a>
            <dl class="layui-nav-child">
                <dd><a href="">移动模块</a></dd>
                <dd><a href="">后台模版</a></dd>
                <dd><a href="">电商平台</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a href="">产品</a></li>
        <li class="layui-nav-item"><a href="">大数据</a></li>
    </ul>
</div>

<div class="layui-body layui-form "  >
    <div class="layui-tab" lay-filter="test1" lay-allowClose="true">
        <ul class="layui-tab-title">
            <li class="layui-this" lay-id="111" >文章列表</li>
            <li lay-id="222">发送信息</li>
            <li lay-id="333">权限分配</li>
            <li lay-id="444">审核</li>
            <li lay-id="555">订单管理</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">1</div>
            <div class="layui-tab-item">2</div>
            <div class="layui-tab-item">3</div>
            <div class="layui-tab-item">4</div>
            <div class="layui-tab-item">5</div>
        </div>
    </div>
</div>

<script src="../layui/layui.js"></script>
<script>
    var element;
    layui.use('element', function(){
        element = layui.element;

        //…
    });




</script>


</body>
</html>